package com.example.foldertreeview;

import android.app.Application;

/**
 *
 */
public class App extends Application {

    private static App singleton;
    private String FileNameEndRule = "amr,m4a,MP3,3gpp,ogg,wav,mid,awb";
    private String FileNameRule = "record,CallRecord,call_rec,Call,Recordings,sound_recorder";

    public static App getApp() {
        return singleton;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        singleton = this;
    }

    public String getFileNameEndRule() {
        return FileNameEndRule;
    }

    public String getFileNameRule() {
        return FileNameRule;
    }
}
